package com.example.jucdemo.waitnotify.dmeo1;

/**
 * @Author by KoVaVo
 * @Date 2023-05-20 18:53
 * @Desc:
 */
public class Code_03_MyThreadA extends Thread {

    private Code_02_MyService myService;

    public Code_03_MyThreadA(Code_02_MyService myService){
        super();
        this.myService = myService;
    }

    @Override
    public void run() {
        myService.waitMethod();
    }
}
